		            <script type="text/javascript" src="scripts/jquery-1.4.4.js"></script>
					<script type='text/javascript'> 
					$(document).ready(function(){
					$(".submenu").hide();
					//$("#menu3").hide();
					//var menunr = "menu";
					  $("td#3").click(function(){
						//menunr = menunr + this.id;
						$("#menu4").slideUp("normal");
						$("#menu5").slideUp("normal");
						$("#menu6").slideUp("normal");
						$("#menu3").slideToggle("normal");
					  });
					  $("td#4").click(function(){
						//menunr = menunr + this.id;
						$("#menu3").slideUp("normal");
						$("#menu5").slideUp("normal");
						$("#menu6").slideUp("normal");
						$("#menu4").slideToggle("normal");
					  });
					  $("td#5").click(function(){
						//menunr = menunr + this.id;
						$("#menu4").slideUp("normal");
						$("#menu3").slideUp("normal");
						$("#menu6").slideUp("normal");
						$("#menu5").slideToggle("normal");
					  });
					  $("td#6").click(function(){
						//menunr = menunr + this.id;
						$("#menu4").slideUp("normal");
						$("#menu5").slideUp("normal");
						$("#menu3").slideUp("normal");
						$("#menu6").slideToggle("normal");
					  });
					});
					function anzeigen(menu)
					{ 
						var str = menu;
						str = str.slice(-1);
						if (menu=='no1'|| menu=='no2'){
						//alert(document.getElementById(str).style.backgroundImage);
							if (document.getElementById(str).style.backgroundImage=="url(images/button1.png)"){
								document.getElementById(str).style.backgroundImage="url('images/button2.png')";
							}else{
								document.getElementById(str).style.backgroundImage="url('images/button1.png')";
							}
							return;
						}else{
						if(document.getElementById(menu).style.display=='none'){
							document.getElementById(menu).style.display='block';
							document.getElementById(str).style.backgroundImage="url('images/button2.png')";
						}else{
							document.getElementById(menu).style.display='none';
							document.getElementById(str).style.backgroundImage="url('images/button1.png')";
					}
					}
					} 
					function buttonchange(str){
						document.getElementById(str).style.backgroundImage="url('images/button2.png')";
					}
					function buttonchangeback(str){
						document.getElementById(str).style.backgroundImage="url('images/button1.png')";
					}
					//this.style.backgroundImage='url('images/button2.png')'
					</script>
					
					<table cellPadding=0 cellSpacing=0 > 
						<tr> 
							<td href="index.php" valign="top" class="menu" onmouseover="buttonchange(this.id)" onmouseout="buttonchangeback(this.id)" id="1" style="background-image:url('images/button1.png'); background-repeat:no-repeat; width: 140px; height: 35px;"> 
								<a href="index.php">Home</a>
							</td>
						</tr>
						<tr>
							<td href="sendamessage.php" valign="top"  onmouseover="buttonchange(this.id)" onmouseout="buttonchangeback(this.id)" class="menu" id="2" style="background-image:url('images/button1.png'); background-repeat:no-repeat; width: 140px; height: 35px;"> 
								<a href="sendamessage.php">Send a message</a>
							</td>
						</tr>
						<tr>
							<td valign="top" class="menu" id="3" onmouseover="buttonchange(this.id)" onmouseout="buttonchangeback(this.id)" style="background-image:url('images/button1.png'); background-repeat:no-repeat; width: 140px; height: 35px;">  
									my Profile 
									<table id="menu3" class="submenu">
										<tr>
											<td>
												<a href="mycontacts.php" class="link">my contacts</a>
											</td>
										</tr>
										<tr>
											<td>
												<a href="mysentmessages.php" class="link">my sent messages</a>
											</td>
										</tr>
										<tr>
											<td>
												<a href="mysettings.php" class="link">my settings</a>
											</td>
										</tr>
									</table>
							</td> 
						</tr>
						<tr>
							<td valign="top" class="menu" id="4" onmouseover="buttonchange(this.id)" onmouseout="buttonchangeback(this.id)" style="background-image:url('images/button1.png'); background-repeat:no-repeat; width: 140px; height: 35px;"> 
								Login	
								<table id="menu4" class="submenu">
										<tr>
											<td>
												<a href="login.php" class="link">login</a>
											</td>
										</tr>
										<tr>
											<td>
												<a href="signup.php" class="link">sign up</a>
											</td>
										</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td valign="top" class="menu" id="5" onmouseover="buttonchange(this.id)" onmouseout="buttonchangeback(this.id)" style="background-image:url('images/button1.png'); background-repeat:no-repeat; width: 140px; height: 35px;"> 
								Help	
								<table id="menu5" class="submenu">
										<tr>
											<td>
												<a href="passwordlost.php" class="link">password lost</a>
											</td>
										</tr>
										<tr>
											<td>
												<a href="usernamelost.php" class="link">username lost</a>
											</td>
										</tr>
									</table>
							</td>
						</tr>	
						<tr>
							<td valign="top" class="menu" id="6" onmouseover="buttonchange(this.id)" onmouseout="buttonchangeback(this.id)" style="background-image:url('images/button1.png'); background-repeat:no-repeat; width: 140px; height: 35px;"> 
								About
								<table id="menu6" class="submenu">
										<tr>
											<td>
												<a href="aboutus.php" class="link">about us</a>
											</td>
										</tr>
										<tr>
											<td>
												<a href="contactus.php" class="link">contact us</a>
											</td>
										</tr>
									</table>
							</td>
						</tr>
						<tr> 
							<td href="allprofiles.php" valign="top" class="menu" onmouseover="buttonchange(this.id)" onmouseout="buttonchangeback(this.id)" id="1" style="background-image:url('images/button1.png'); background-repeat:no-repeat; width: 140px; height: 35px;"> 
								<a href="allprofiles.php">view all profiles</a>
							</td>
						</tr>
					</table>
